#region Copyright RenGuiYou. All rights reserved.
//=====================================================
// PandoraFrameWork
// Author:      RenGuiyou
// Feedback: 	mailto:750539605@qq.com
//=====================================================
#endregion

using UnityEditor;
using UnityEngine;

namespace PandoraEditor.Window
{
    public class CompileConfigCategory : ConfigCategory
    {
        public override void OnInit()
        {
            name = "编译配置";
        }

        public override void OnDrawAction()
        {
            var setting = UserSetting.CompileSetting;
            EditorGUILayout.Space();
            EditorGUILayout.LabelField("编译目录配置", EditorStyles.boldLabel);
            GUILayout.BeginVertical("box");
            {
                setting.lua_builder = EditorGUILayout.TextField("lua builder", setting.lua_builder);
                setting.texture_packer_builder = EditorGUILayout.TextField("texture_packer builder", setting.texture_packer_builder);
                EditorGUILayout.Space();
            }
            GUILayout.EndVertical();
        }
    }
}